package cn.xsly.org.mapper;

import cn.xsly.basic.mapper.BaseMapper;
import cn.xsly.org.domain.Employee;
import cn.xsly.system.domain.Menu;

import java.util.List;

/**
 * Mapper接口：员工
 */
public interface EmployeeMapper extends BaseMapper<Employee> {

    void addEmployeeRole(Employee employee);

    void delEmployeeRole(Long id);

    List<String> loadSnBylogininfoId(Long id);

    List<Menu> loadMenusByLogininfoId(Long id);

    Employee findByLoginId(Long id);
}
